An Approach to Formalize UML Sequence Diagrams in CSP
نویسندگان
چکیده
UML sequence diagrams are widely used in mod-eling system behaviors in the early design phases of software development. In order to support formal model verification and refinement, sequence diagrams need to be formalized in a formal language. In this paper, we propose an approach to formalize UML sequence diagrams in CSP (communicating and sequential processes) in order to use FDR, a model checking tool, for system analysis and verification. In the approach, we construct a CSP process for each lifeline of the sequence diagram by extracting messages and combined fragments covered by the lifeline, and sequencing them in time order. A message’s sending or receiving event is converted to a CSP event. Combined fragments are transformed to condition operators or external choices. We define channels for passing messages between two processes. Through parallel composition of processes using events occur in channels as their alphabets, we build the CSP model for the sequence diagram. A tool based on XSLT has been developed to support the approach. KeywordsUML, Formalization, Sequence diagrams, CSP
منابع مشابه
Checking the Validity of Scenarios in UML Models
In the UML, sequence diagrams are used to state scenarios, i.e., examples of interactions between objects. As such, sequence diagrams are being developed in the early design phases where requirements on the system are being captured. Their intuitively appealing character and conceptual simplicity makes them an ideal tool for formulating simple properties on a system, even for non-experts. Besid...
متن کاملMapping Sequence diagram in Fuzzy UML to Fuzzy Petri Net
This ability in fuzzy UML, practically leaves the customers and market’s need without response in this important and vital area. Here, the available sequence diagrams in fuzzy UML will map into fuzzy Petri net. However, the formal models ability will be added to the Semi-formal fuzzy UML. This formalization will add the automatic processing ability to the Semi-formal fuzzy UML. Further more, t...
متن کاملA CSP View on UML-RT Structure Diagrams
UML-RT is an extension of UML for modelling embedded reactive and real-time software systems. Its particular focus lies on system descriptions on the architectural level, defining the overall system structure. In this paper we propose to use UML-RT structure diagrams together with the formal method CSP-OZ combining CSP and Object-Z. While CSP-OZ is used for specifying the system components them...
متن کاملFormal Verification of Tokeneer Behaviours Modelled in fUML Using CSP
Much research work has been done on formalizing UML diagrams, but less has focused on using this formalization to analyze the dynamic behaviours between formalized components. In this paper we propose using a subset of fUML (Foundational Subset for Executable UML) as a semi-formal language, and formalizing it to the process algebraic specification language CSP, to make use of FDR as a model che...
متن کاملTransforming UML Sequence Diagrams into Petri Nets
Sequence diagrams are an abstraction of communication modeling taking place between different entities, objects or classes. Their usefulness and expressivity lies in their ability to describe an execution trace of a particular system at a particular point in time. From their initial use as traditional message sequence charts to the current versions of sequence diagrams, like those found in the ...
متن کامل